package com.member.server.entity;

import com.alibaba.fastjson.JSON;

import java.io.Serializable;

/**
 * @author gaojx1993
 * @version 1.0
 * @description ChannelConfig
 * @since 2023/7/11 22:33
 */
public class ChannelConfig implements Serializable {

    private Long id;

    private Long gmtCreate;

    private Long gmtUpdate;

    private String name;

    private String reqUrl;

    private String reqTemp;

    private String notifyUrl;

    private Integer status;

    public static ChannelConfig mock() {
        ChannelConfig channelConfig = new ChannelConfig();
        channelConfig.setId(1L);
        channelConfig.setName("银行卡");
        return channelConfig;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Long gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Long getGmtUpdate() {
        return gmtUpdate;
    }

    public void setGmtUpdate(Long gmtUpdate) {
        this.gmtUpdate = gmtUpdate;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getReqUrl() {
        return reqUrl;
    }

    public void setReqUrl(String reqUrl) {
        this.reqUrl = reqUrl;
    }

    public String getReqTemp() {
        return reqTemp;
    }

    public void setReqTemp(String reqTemp) {
        this.reqTemp = reqTemp;
    }

    public String getNotifyUrl() {
        return notifyUrl;
    }

    public void setNotifyUrl(String notifyUrl) {
        this.notifyUrl = notifyUrl;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
